import Vue from 'vue'
import App from './App.vue'
import '../static/css/aui/aui.2.0.css'

/* 配置 */
Vue.config.debug = true;

import {router} from './routes/routes'
//前置拦截
router.beforeEach((to, from, next) => {
  next();
})
//后置拦截
router.afterEach(transition => {

});

/* 加载状态 */
import {store} from './vuex/vuex'

const app = new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app")
